<?php
/*========================================= JooSam =========================================/
/																							/
/	Extention:		JooSam																	/
/	Created by:		ScriptPlanet.eu															/
/	Site:			http://www.scriptplanet.eu												/
/	Email:			support@scriptplanet.eu													/
/	Support:		http://www.scriptplanet.eu/support										/
/	Copyright:		2011 (c) ScriptPlanet.eu												/
/	License:		CC BY-NC-ND 3.0 ~ http://creativecommons.org/licenses/by-nc-nd/3.0/		/
/	File Version:	0001																	/
/																							/
/========================================== JooSam ========================================*/
// Joomla security
defined('_JEXEC') or die;
JHtml::_('behavior.tooltip');

// search string from other page.
$layout = $this->layout;

## layout by songinfo
if($layout == 'spsearch'){
	echo '<div class="jsam_com_songinfo">'.$this->loadTemplate('song').'</div>';
}

## Layout by lettersearch
else if($layout == 'spletter'){
	echo '<div class="jsam_com_songinfo">'.$this->loadTemplate('letter').'</div>';
}

## Direct call
else{
	echo '<p class="error">'.JText::_("COM_JOOSAM_COM_REQUEST_SINFO_ONLY_JOOSAM").'</p>';
}